cmake_minimum_required(VERSION 3.18.4)
project (uartIap)

aux_source_directory(. C_SOURCES)
aux_source_directory(./UartIap C_SOURCES_UART)

include_directories(./UartIap)

add_executable(${PROJECT_NAME} ${C_SOURCES} ${C_SOURCES_UART})
target_link_libraries(${PROJECT_NAME} pthread)